[INFO] cloning repository https://github.com/Paphadazz/master-server.io
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Paphadazz/master-server.io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaphadazz%2Fmaster-server.io", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaphadazz%2Fmaster-server.io'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e34f0e1e29be8293536b6a2c746d24ba990bb330
[INFO] fixing Paphadazz/master-server.io against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaphadazz%2Fmaster-server.io" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Paphadazz/master-server.io
[INFO] finished tweaking git repo https://github.com/Paphadazz/master-server.io
[INFO] tweaked toml for git repo https://github.com/Paphadazz/master-server.io written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Paphadazz/master-server.io on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Paphadazz/master-server.io already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-core v0.1.35
[INFO] [stderr]   Downloaded dsl_auto_type v0.2.0
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.3.0
[INFO] [stderr]   Downloaded headers-core v0.3.0
[INFO] [stderr]   Downloaded time-core v0.1.6
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.106
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.106
[INFO] [stderr]   Downloaded http-body v0.4.6
[INFO] [stderr]   Downloaded time-macros v0.2.24
[INFO] [stderr]   Downloaded thiserror v2.0.17
[INFO] [stderr]   Downloaded thiserror-impl v2.0.17
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded password-hash v0.5.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.7
[INFO] [stderr]   Downloaded compression-codecs v0.4.33
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.5
[INFO] [stderr]   Downloaded unicase v2.8.1
[INFO] [stderr]   Downloaded cmake v0.1.54
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded pem v3.0.6
[INFO] [stderr]   Downloaded iana-time-zone v0.1.64
[INFO] [stderr]   Downloaded simple_asn1 v0.6.3
[INFO] [stderr]   Downloaded deranged v0.5.5
[INFO] [stderr]   Downloaded pq-sys v0.7.5
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.106
[INFO] [stderr]   Downloaded js-sys v0.3.83
[INFO] [stderr]   Downloaded jsonwebtoken v10.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.106
[INFO] [stderr]   Downloaded slab v0.4.11
[INFO] [stderr]   Downloaded flate2 v1.1.5
[INFO] [stderr]   Downloaded axum-extra v0.12.2
[INFO] [stderr]   Downloaded headers v0.4.1
[INFO] [stderr]   Downloaded uuid v1.19.0
[INFO] [stderr]   Downloaded async-compression v0.4.34
[INFO] [stderr]   Downloaded bumpalo v3.19.0
[INFO] [stderr]   Downloaded cc v1.2.48
[INFO] [stderr]   Downloaded indexmap v2.12.1
[INFO] [stderr]   Downloaded tracing v0.1.43
[INFO] [stderr]   Downloaded diesel_derives v2.3.5
[INFO] [stderr]   Downloaded time v0.3.44
[INFO] [stderr]   Downloaded tower-http v0.6.7
[INFO] [stderr]   Downloaded tokio-util v0.7.17
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.22
[INFO] [stderr]   Downloaded iri-string v0.7.9
[INFO] [stderr]   Downloaded h2 v0.3.27
[INFO] [stderr]   Downloaded axum v0.8.7
[INFO] [stderr]   Downloaded hyper v0.14.32
[INFO] [stderr]   Downloaded chrono v0.4.42
[INFO] [stderr]   Downloaded aws-lc-rs v1.15.1
[INFO] [stderr]   Downloaded syn v2.0.111
[INFO] [stderr]   Downloaded diesel v2.3.4
[INFO] [stderr]   Downloaded aws-lc-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1
[INFO] running `Command { std: "docker" "start" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling aws-lc-rs v1.15.1
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling diesel_derives v2.3.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling aws-lc-sys v0.34.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking compression-codecs v0.4.33
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking async-compression v0.4.34
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.6.7
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking diesel v2.3.4
[INFO] [stderr]     Checking jsonwebtoken v10.2.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking axum-extra v0.12.2
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ...
[INFO] [stdout] 43 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ...
[INFO] [stdout] 43 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let update_condition = is_status_open_or_fail
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `pub`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Ok(result)
[INFO] [stdout]    |               ^ help: add `;` here
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 58 -     ...
[INFO] [stdout] 58 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 58 -     ...
[INFO] [stdout] 58 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let result = self
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 84 -     ...
[INFO] [stdout] 84 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 84 -     ...
[INFO] [stdout] 84 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let result = self
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/config/config_loader.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if `std::env::var` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 40 -     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout] 40 +     let max_crew_per_mission: ! = std :: env :: var { key: "MAX_CREW_PER_MISSION" } Result<String, VarError>
[INFO] [stdout]    |
[INFO] [stdout] help: if `std::env::var` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 40 -     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout] 40 +     let max_crew_per_mission: ! = std :: env :: var("MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `else`, or an operator, found `Result`
[INFO] [stdout]   --> src/config/config_loader.rs:40:82
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |                                                                                  ^^^^^^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/repositories/brawlers.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[async_trait]
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `crew_participation`
[INFO] [stdout]  --> src/domain/repositories/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod crew_participation;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `crew_participation`, create file "src/domain/repositories/crew_participation.rs" or "src/domain/repositories/crew_participation/mod.rs"
[INFO] [stdout]   = note: if there is a `mod crew_participation` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `[`
[INFO] [stdout]  --> src/domain/repositories/mission_operation.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 | m[async_trait]
[INFO] [stdout]   |  ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/domain/repositories/mission_viewing.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 | }
[INFO] [stdout]   |  ^ help: add `;` here
[INFO] [stdout] 7 | #[async_trait]
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/repositories/mission_viewing.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[async_trait]
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: statements are terminated with a semicolon
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:4:85
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout]   |                                                                                     ^
[INFO] [stdout]   |
[INFO] [stdout] help: use a semicolon instead
[INFO] [stdout]   |
[INFO] [stdout] 4 - use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout] 4 + use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `;`, `where`, or `{`, found `>`
[INFO] [stdout]   --> src/domain/repositories/mission_management.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait MissionManagementRepository{
[INFO] [stdout]    |                                      - while parsing this item list starting here
[INFO] [stdout]  9 |     async fn add(&self, add_mission_entity: AddMissionEntity) -> Result<i32>;
[INFO] [stdout] 10 |     async fn edit(&self, edit_mission_entity: EditMissionEntity) > Result<i32>;
[INFO] [stdout]    |                                                                  ^ expected one of `->`, `;`, `where`, or `{`
[INFO] [stdout] 11 |     async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()>;
[INFO] [stdout] 12 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/brawler_model.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/mission_filter.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/mission_statuses.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Default, Clone, Serialize, Deserialize, PartialEq) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             ...
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             ...
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 |      let id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `const` instead of `let` for associated const
[INFO] [stdout]    |
[INFO] [stdout] 23 -      let id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout] 23 +      const id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 39 -     ...
[INFO] [stdout] 39 +     ..
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ...
[INFO] [stdout] 43 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ...
[INFO] [stdout] 43 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let update_condition = is_status_open_or_fail
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `pub`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Ok(result)
[INFO] [stdout]    |               ^ help: add `;` here
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 58 -     ...
[INFO] [stdout] 58 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 58 -     ...
[INFO] [stdout] 58 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let result = self
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 84 -     ...
[INFO] [stdout] 84 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 84 -     ...
[INFO] [stdout] 84 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let result = self
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/config/config_loader.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if `std::env::var` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 40 -     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout] 40 +     let max_crew_per_mission: ! = std :: env :: var { key: "MAX_CREW_PER_MISSION" } Result<String, VarError>
[INFO] [stdout]    |
[INFO] [stdout] help: if `std::env::var` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 40 -     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout] 40 +     let max_crew_per_mission: ! = std :: env :: var("MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `else`, or an operator, found `Result`
[INFO] [stdout]   --> src/config/config_loader.rs:40:82
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let max_crew_per_mission: ! = std :: env :: var(key: "MAX_CREW_PER_MISSION") Result<String, VarError>
[INFO] [stdout]    |                                                                                  ^^^^^^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/repositories/brawlers.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[async_trait]
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `crew_participation`
[INFO] [stdout]  --> src/domain/repositories/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod crew_participation;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `crew_participation`, create file "src/domain/repositories/crew_participation.rs" or "src/domain/repositories/crew_participation/mod.rs"
[INFO] [stdout]   = note: if there is a `mod crew_participation` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `[`
[INFO] [stdout]  --> src/domain/repositories/mission_operation.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 | m[async_trait]
[INFO] [stdout]   |  ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/domain/repositories/mission_viewing.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 | }
[INFO] [stdout]   |  ^ help: add `;` here
[INFO] [stdout] 7 | #[async_trait]
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/repositories/mission_viewing.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[async_trait]
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: statements are terminated with a semicolon
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:4:85
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout]   |                                                                                     ^
[INFO] [stdout]   |
[INFO] [stdout] help: use a semicolon instead
[INFO] [stdout]   |
[INFO] [stdout] 4 - use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout] 4 + use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `;`, `where`, or `{`, found `>`
[INFO] [stdout]   --> src/domain/repositories/mission_management.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait MissionManagementRepository{
[INFO] [stdout]    |                                      - while parsing this item list starting here
[INFO] [stdout]  9 |     async fn add(&self, add_mission_entity: AddMissionEntity) -> Result<i32>;
[INFO] [stdout] 10 |     async fn edit(&self, edit_mission_entity: EditMissionEntity) > Result<i32>;
[INFO] [stdout]    |                                                                  ^ expected one of `->`, `;`, `where`, or `{`
[INFO] [stdout] 11 |     async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()>;
[INFO] [stdout] 12 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/brawler_model.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/mission_filter.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item after attributes
[INFO] [stdout]  --> src/domain/value_objects/mission_statuses.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Default, Clone, Serialize, Deserialize, PartialEq) ]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             ...
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             ...
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 17 -             ...
[INFO] [stdout] 17 +             ..
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 |      let id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `const` instead of `let` for associated const
[INFO] [stdout]    |
[INFO] [stdout] 23 -      let id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout] 23 +      const id = tokio::task::spawn_blocking(move || -> Result<i32> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected curly braces or `;`
[INFO] [stdout]   --> src/domain/repositories/mission_management.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn edit(&self, edit_mission_entity: EditMissionEntity) > Result<i32>;
[INFO] [stdout]    |                                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected curly braces or `;`
[INFO] [stdout]   --> src/domain/repositories/mission_management.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn edit(&self, edit_mission_entity: EditMissionEntity) > Result<i32>;
[INFO] [stdout]    |                                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                    ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()> {
[INFO] [stdout]    |                     ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                          ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                           ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                               ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:71:54
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:55:28
[INFO] [stdout]    |
[INFO] [stdout] 55 |         async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                    ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()> {
[INFO] [stdout]    |                     ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                          ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                           ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                               ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:71:54
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                      ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:55:28
[INFO] [stdout]    |
[INFO] [stdout] 55 |         async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:29:35
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:29:35
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    |      -- type parameter from outer item
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- generic parameter used in this inner function
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                                   ^^ use of generic parameter from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: try introducing a local generic parameter here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new() {pub fn new<T1>(
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    |          -- type parameter from outer item
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- generic parameter used in this inner function
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout] 18 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                                 ^^ use of generic parameter from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: try introducing a local generic parameter here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new() {pub fn new<T2>(
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- `Self` used in this inner function
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ) -> Self {
[INFO] [stdout]    |          ^^^^ use of `Self` from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]    |
[INFO] [stdout] 19 -     ) -> Self {
[INFO] [stdout] 19 +     ) -> MissionOperationUseCase<T1, T2> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- `Self` used in this inner function
[INFO] [stdout] ...
[INFO] [stdout] 20 |         Self {
[INFO] [stdout]    |         ^^^^ use of `Self` from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]    |
[INFO] [stdout] 20 -         Self {
[INFO] [stdout] 20 +         MissionOperationUseCase<T1, T2> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    |      -- type parameter from outer item
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- generic parameter used in this inner function
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                                   ^^ use of generic parameter from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: try introducing a local generic parameter here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new() {pub fn new<T1>(
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    |          -- type parameter from outer item
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- generic parameter used in this inner function
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout] 18 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                                 ^^ use of generic parameter from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: try introducing a local generic parameter here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new() {pub fn new<T2>(
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- `Self` used in this inner function
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ) -> Self {
[INFO] [stdout]    |          ^^^^ use of `Self` from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]    |
[INFO] [stdout] 19 -     ) -> Self {
[INFO] [stdout] 19 +     ) -> MissionOperationUseCase<T1, T2> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T1, T2> MissionOperationUseCase<T1, T2>
[INFO] [stdout]    | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new() {pub fn new(
[INFO] [stdout]    |                          --- `Self` used in this inner function
[INFO] [stdout] ...
[INFO] [stdout] 20 |         Self {
[INFO] [stdout]    |         ^^^^ use of `Self` from outer item
[INFO] [stdout]    |
[INFO] [stdout]    = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]    |
[INFO] [stdout] 20 -         Self {
[INFO] [stdout] 20 +         MissionOperationUseCase<T1, T2> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MissionOperationUseCase<T1, T2>pub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MisssionOperationPostgrespub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use `Self` from outer item
[INFO] [stdout]   |
[INFO] [stdout]   = note: nested items are independent from their parent item for everything except for privacy and name resolution
[INFO] [stdout] help: refer to the type directly here instead
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MisssionOperationPostgrespub mod application;
[INFO] [stdout]   | +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_management_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:21:44
[INFO] [stdout]    |
[INFO] [stdout] 21 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new<T1>(
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:22:37
[INFO] [stdout]    |
[INFO] [stdout] 22 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T2` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                         ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new<T2>(
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new(
[INFO] [stdout]    |        --- `Self` not allowed in a function
[INFO] [stdout] ...
[INFO] [stdout] 23 |     ) -> Self {
[INFO] [stdout]    |          ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new(
[INFO] [stdout]    |        --- `Self` not allowed in a function
[INFO] [stdout] ...
[INFO] [stdout] 24 |         Self {
[INFO] [stdout]    |         ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:61
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::AddMissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:39:76
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::EditMissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     missiom_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `is_status_open_or_fail` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let update_condition = is_status_open_or_fail
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |             && crew_count > 0
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mission` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |             && mission.chief_id == chief_id;
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |                                        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |                                            ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new<T>(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |        --- `Self` not allowed in a function       ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |        --- `Self` not allowed in a function
[INFO] [stdout] 2 |         Self {
[INFO] [stdout]   |         ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:56
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::domain::value_objects::mission_model::MissionModel;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:67
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::MissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_crew_per_mission` in this scope
[INFO] [stdout]   --> src/config/config_loader.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         max_crew_per_mission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NaiveDateTime` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub created_at: NaiveDateTime,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use chrono::NaiveDateTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NaiveDateTime` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub updated_at: NaiveDateTime,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use chrono::NaiveDateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_entity(&self, chief_id: i32) -> AddMissionEntity {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         AddMissionEntity {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:36:47
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn to_entity(&self, chief_id: i32) -> EditMissionEntity {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         EditMissionEntity {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl MissionManagementRepository for MisssionManagementPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 17 |     async fn add(&self, add_mission_entity: AddMissionEntity) -> Result<i32> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let result = insert_into(missions::table)
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use diesel::insert_into;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let result = insert_into(missions::table)
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |             .returning(missions::id)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 |     async fn edit(&self, mission_id: i32, edit_mission_entity: EditMissionEntity) -> Result<i32> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let result = diesel::update(missions::table)
[INFO] [stdout]    |                                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |             .returning(missions::id)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |         diesel::update(missions::table)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 missions::deleted_at.eq(diesel::dsl::now),
[INFO] [stdout]    |                 ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 missions::chief_id.eq(chief_id),
[INFO] [stdout]    |                 ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MisssionOperationPostgres` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl MisssionOperationPostgres {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_management_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         status: MissionStatuses,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let db_pool = Arc::clone(&self.db_pool);
[INFO] [stdout]    |                       ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_managenent.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl MissionOperationRepository for MisssionOperationPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MisssionOperationPostgres` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:41:37
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl MissionOperationRepository for MisssionOperationPostgres {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MissionViewingRepository for MisssionViewingPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:13:60
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn view_detail(&self, mission_id: i32) -> Result<MissionEntity> {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:21:44
[INFO] [stdout]    |
[INFO] [stdout] 21 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new<T1>(
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let result = missions::table
[INFO] [stdout]    |                      ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:22:37
[INFO] [stdout]    |
[INFO] [stdout] 22 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T2` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                         ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new<T2>(
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new(
[INFO] [stdout]    |        --- `Self` not allowed in a function
[INFO] [stdout] ...
[INFO] [stdout] 23 |     ) -> Self {
[INFO] [stdout]    |          ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn new(
[INFO] [stdout]    |        --- `Self` not allowed in a function
[INFO] [stdout] ...
[INFO] [stdout] 24 |         Self {
[INFO] [stdout]    |         ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:61
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::AddMissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             .select(MissionEntity::as_select())
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ use of undeclared type `MissionEntity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:39:76
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::EditMissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |             .first::<MissionEntity>(&mut conn)?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionEntity>> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:26:63
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionEntity>> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     missiom_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut query = missions::table
[INFO] [stdout]    |                         ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:34:34
[INFO] [stdout]    |
[INFO] [stdout] 34 |             query = query.filter(missions::status.eq(status.to_string()));
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |             query = query.filter(missions::name.ilike(format!("%{}%", name)));
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `is_status_open_or_fail` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let update_condition = is_status_open_or_fail
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .select(MissionEntity::as_select())
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ use of undeclared type `MissionEntity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |             && crew_count > 0
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |             .order_by(missions::created_at.desc())
[INFO] [stdout]    |                       ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |             .load::<MissionEntity>(&mut conn)?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mission` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |             && mission.chief_id == chief_id;
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |                                        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `crew_memberships` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let result = crew_memberships::table
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crew_memberships`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crew_memberships`, use `cargo add crew_memberships` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::crew_memberships::dsl::crew_memberships;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |                                            ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new<T>(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `crew_memberships` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             .filter(crew_memberships::mission_id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crew_memberships`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crew_memberships`, use `cargo add crew_memberships` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::crew_memberships::dsl::crew_memberships;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |        --- `Self` not allowed in a function       ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]   |        --- `Self` not allowed in a function
[INFO] [stdout] 2 |         Self {
[INFO] [stdout]   |         ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:56
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::domain::value_objects::mission_model::MissionModel;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:67
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::value_objects::mission_model::MissionModel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_crew_per_mission` in this scope
[INFO] [stdout]   --> src/config/config_loader.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         max_crew_per_mission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NaiveDateTime` in this scope
[INFO] [stdout]  --> src/domain/value_objects/mission_model.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub created_at: NaiveDateTime,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use chrono::NaiveDateTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NaiveDateTime` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub updated_at: NaiveDateTime,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use chrono::NaiveDateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddMissionEntity` and `EditMissionEntity`
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_entity(&self, chief_id: i32) -> AddMissionEntity {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         AddMissionEntity {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:36:47
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn to_entity(&self, chief_id: i32) -> EditMissionEntity {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         EditMissionEntity {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl MissionManagementRepository for MisssionManagementPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 17 |     async fn add(&self, add_mission_entity: AddMissionEntity) -> Result<i32> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::AddMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let result = insert_into(missions::table)
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use diesel::insert_into;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let result = insert_into(missions::table)
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |             .returning(missions::id)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 |     async fn edit(&self, mission_id: i32, edit_mission_entity: EditMissionEntity) -> Result<i32> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::EditMissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let result = diesel::update(missions::table)
[INFO] [stdout]    |                                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |             .returning(missions::id)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |         diesel::update(missions::table)
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 missions::deleted_at.eq(diesel::dsl::now),
[INFO] [stdout]    |                 ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 missions::chief_id.eq(chief_id),
[INFO] [stdout]    |                 ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MisssionOperationPostgres` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl MisssionOperationPostgres {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         status: MissionStatuses,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let db_pool = Arc::clone(&self.db_pool);
[INFO] [stdout]    |                       ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl MissionOperationRepository for MisssionOperationPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MisssionOperationPostgres` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:41:37
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl MissionOperationRepository for MisssionOperationPostgres {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     db_pool: Arc<PgPoolSquad>,
[INFO] [stdout]   |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PgPoolSquad` in this scope
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn new(db_pool: Arc<PgPoolSquad>) -> Self {
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::infrastructure::database::postgresql_connection::PgPoolSquad;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MissionViewingRepository for MisssionViewingPostgres {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:13:60
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn view_detail(&self, mission_id: i32) -> Result<MissionEntity> {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let result = missions::table
[INFO] [stdout]    |                      ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |             .filter(missions::id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             .select(MissionEntity::as_select())
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ use of undeclared type `MissionEntity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |             .first::<MissionEntity>(&mut conn)?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionEntity>> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:26:63
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionEntity>> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut query = missions::table
[INFO] [stdout]    |                         ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .filter(missions::deleted_at.is_null())
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:34:34
[INFO] [stdout]    |
[INFO] [stdout] 34 |             query = query.filter(missions::status.eq(status.to_string()));
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |             query = query.filter(missions::name.ilike(format!("%{}%", name)));
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .select(MissionEntity::as_select())
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ use of undeclared type `MissionEntity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `missions` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |             .order_by(missions::created_at.desc())
[INFO] [stdout]    |                       ^^^^^^^^ use of unresolved module or unlinked crate `missions`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `missions`, use `cargo add missions` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::missions::dsl::missions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionEntity` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |             .load::<MissionEntity>(&mut conn)?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::missions::MissionEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let mut conn = Arc::clone(&self.db_pool).get()?;
[INFO] [stdout]    |                         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `crew_memberships` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let result = crew_memberships::table
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crew_memberships`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crew_memberships`, use `cargo add crew_memberships` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::crew_memberships::dsl::crew_memberships;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `crew_memberships` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_viewing.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             .filter(crew_memberships::mission_id.eq(mission_id))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crew_memberships`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crew_memberships`, use `cargo add crew_memberships` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::infrastructure::database::schema::crew_memberships::dsl::crew_memberships;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddMissionEntity` and `EditMissionEntity`
[INFO] [stdout]  --> src/domain/repositories/mission_management.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate :: domain :: entities :: missions :: {AddMissionEntity, EditMissionEntity}:
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:81
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                                                 ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                 |
[INFO] [stdout]    |                                                                                 expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | -> Result<i32> {
[INFO] [stdout]    |    ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |    |
[INFO] [stdout]    |    expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 | -> Result<i32, E> {
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:56:63
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<(), E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:26:100
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                    ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                    |
[INFO] [stdout]    |                                                                                                    expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:42:101
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                     ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                     |
[INFO] [stdout]    |                                                                                                     expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:57:73
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                         ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                         |
[INFO] [stdout]    |                                                                         expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:71:96
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                |
[INFO] [stdout]    |                                                                                                expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:70
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                      ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:49
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                                                 ^^^^^^ ------------ supplied 1 generic argument
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel, E> {
[INFO] [stdout]   |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:56
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                        ^^^^^^ ----------------- supplied 1 generic argument
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>, E> {
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:29:81
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                                                 ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                 |
[INFO] [stdout]    |                                                                                 expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | -> Result<i32> {
[INFO] [stdout]    |    ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |    |
[INFO] [stdout]    |    expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 | -> Result<i32, E> {
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_managenent.rs:56:63
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn remove(&self, mission_id: i32, chief_id: i32) -> Result<(), E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:26:100
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                    ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                    |
[INFO] [stdout]    |                                                                                                    expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn in_progress() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:42:101
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                     ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                     |
[INFO] [stdout]    |                                                                                                     expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn to_completed() {pub async fn in_progress(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:57:73
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                         ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                         |
[INFO] [stdout]    |                                                                         expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub async fn to_completed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:71:96
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                                                ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                                                |
[INFO] [stdout]    |                                                                                                expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub async fn to_failed() {pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:70
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                      ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:6:49
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]   |                                                 ^^^^^^ ------------ supplied 1 generic argument
[INFO] [stdout]   |                                                 |
[INFO] [stdout]   |                                                 expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_one(&self, mission_id: i32) -> Result<MissionModel, E> {
[INFO] [stdout]   |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:21:56
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                        ^^^^^^ ----------------- supplied 1 generic argument
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub async fn get(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>, E> {
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:37:52
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let is_status_open_or_fail = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |             status: MissionStatuses::Open.to_string(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:44:60
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let result = self.set_status(mission_id, chief_id, MissionStatuses::InProgress).await?;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:50:61
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let result = self.set_status(mission_id, chief_id, MissionStatuses::Completed).await?;
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:56:60
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let result = self.set_status(mission_id, chief_id, MissionStatuses::Failed).await?;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0401, E0405, E0411, E0422, E0425, E0433, E0583, E0586.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` (lib test) due to 165 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:37:52
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let is_status_open_or_fail = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/domain/value_objects/mission_model.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |             status: MissionStatuses::Open.to_string(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_management.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(missions::status.eq(MissionStatuses::Open.to_string()))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:44:60
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let result = self.set_status(mission_id, chief_id, MissionStatuses::InProgress).await?;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:50:61
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let result = self.set_status(mission_id, chief_id, MissionStatuses::Completed).await?;
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/infrastructure/database/repositories/mission_operation.rs:56:60
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let result = self.set_status(mission_id, chief_id, MissionStatuses::Failed).await?;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0401, E0405, E0411, E0422, E0425, E0433, E0583, E0586.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` (lib) due to 165 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1", kill_on_drop: false }`
[INFO] [stdout] 80dbbdd3c5333a430dee66b1f224e6f9c9a5b8e1a4c35954f3d1d304db37f3c1
